package com.dx.wx.service;


import cn.binarywang.wx.miniapp.bean.WxMaJscode2SessionResult;
import cn.binarywang.wx.miniapp.bean.WxMaPhoneNumberInfo;
import com.ejlchina.data.Mapper;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface DxWxAppService {

    WxMaJscode2SessionResult getWxId(String code, String appId) ;

    WxMaPhoneNumberInfo getWxPhone(String code) ;

    //根据用户级别生成对应的二维码
    void createQrCode(Long phone, int role, int workType, HttpServletResponse response, String appId);

    void sendMoney(Map map);

    //OCR识别文字
    Mapper orc(MultipartFile file);

}
